#pragma once
#include "common.h"
namespace JMap_Geometries{
/*
	class ATL_NO_VTABLE Geometries:
		public CComObjectRootEx<CComSingleThreadModel>,
		public CComCoClass<Geometries,&CLSID_cmGeometries>,
		public IGeometriesCollImpl
	{
	public:
		BEGIN_COM_MAP(Geometries)
			COM_INTERFACE_ENTRY2(IDispatch,IGeometries)
			COM_INTERFACE_ENTRY(IGeometries)
		END_COM_MAP()

		DECLARE_REGISTRY_RESOURCEID(IDR_REGPOINT)

	public:
		virtual HRESULT __stdcall AddGeometry( 
			IGeometry **ppGeometry){
			return E_NOTIMPL;
		};

		IGeometry * operator[](long index){
			IGeometry * _result;
			get_Item(index,&_result);
			return _result;
		}
	};



	class ATL_NO_VTABLE BoundingBoxs:
		public CComObjectRootEx<CComSingleThreadModel>,
		public CComCoClass<BoundingBoxs,&CLSID_cmGeometries>,
		public IDispatchImpl<IBoundingBoxs,&__uuidof(IBoundingBoxs),&LIBID_JMAPLib>,
		IBoundingBoxsCollImpl
	{
	public:
		BEGIN_COM_MAP(BoundingBoxs)
			COM_INTERFACE_ENTRY2(IDispatch,BoundingBoxs)
			COM_INTERFACE_ENTRY(BoundingBoxs)
		END_COM_MAP()

		DECLARE_REGISTRY_RESOURCEID(IDR_REGPOINT)

	public:
		virtual HRESULT __stdcall AddGeometry( 
			IBoundingBox **ppBoundingBox){
				return E_NOTIMPL;
		};

	};
	*/

}